#pragma once
#include <iostream>
enum Job {
	teacher1,
	worker1
};

class __declspec(dllexport) Person
{
public:
	double age;
	Job job;
	int Eat();
	void Sit();
	Person& Add();
	void SetJob(Job job);
};

class __declspec(dllexport) Student:public Person
{
public:
	int grade;
};
class __declspec(dllexport) Teacher:public Person
{
public:
	Student student;
	int sd;
	void Call();
};

class __declspec(dllexport) TeacherP :public Person
{
public:
	Student* student;
	int sd;
	void Call();
};